<?php

require_once 'psk_dbvisualtable.php';

class PostForm extends PSK_DBVisualTable
{
	function __construct($par_Owner)
	{
		parent::__construct($par_Owner, 'posts');
		$this->EnableEditing();
		
		$this->AddFields(array('title', 'body', 'post_date', 'id_posts'));
		
		$this->Column('title')->titleTag->inner = 'Başlık';
		$this->Column('body')->titleTag->inner = 'İçerik';
		$this->Column('post_date')->titleTag->inner = 'Tarih';
	}
}